<form class="form-horizontal bv-form" role="form" id="listForm">
    <input type="hidden" id="id" name="id" value="{$student.id}">
    <div class="form-group">
        <label class="col-sm-3 control-label">姓名：</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="relname" value="{$student.relname}">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">性别：</label>
        <div class="col-sm-5">
            <div class="radio-inline">
                <label>
                    <input type="radio" name="sex" value="1" {if $student.sex=='1'}checked{/if}> 男
                </label>
            </div>
            <div class="radio-inline">
                <label>
                    <input type="radio" name="sex" value="0" {if $student.sex=='0'}checked{/if}> 女
                </label>
            </div>
        </div>
    </div>
    <!--<div class="form-group">-->
        <!--<label class="col-sm-3 control-label">头像：</label>-->
        <!--<div class="col-sm-5">-->
            <!--<img srcstudent2dent.avatar}" height="100" />-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label class="col-sm-3 control-label">手机号：</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="username" value="{$student.username}">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">专业：</label>
        <div class="col-sm-5">
            <select class="form-control" name="majorid" style="font-size: 13px;">
                {volist name='subs' id='s'}
                <option {if $student.majorid==$s['s_id']} selected {/if} value="{$s['s_id']}">{$s['s_name']}</option>
                {/volist}
            </select>
        </div>
    </div>
    {if $student.typeid==2}
    <div class="form-group">
        <label class="col-sm-3 control-label">社交账号：</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="stu_web" value="{$student.stu_web}">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">邮箱：</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="stu_email" value="{$student.stu_email}">
        </div>
    </div>
    {/if}
    {if $student.typeid==1}
    <div class="form-group">
        <label class="col-sm-3 control-label">pc端底部显示：</label>
        <div class="col-sm-5">
            <div class="radio-inline">
                <label>
                    <input type="radio" name="isshow" value="1" {if $student.isshow=='1'}checked{/if}> 显示
                </label>
            </div>
            <div class="radio-inline">
                <label>
                    <input type="radio" name="isshow" value="0" {if $student.isshow=='0'}checked{/if}> 不显示
                </label>
            </div>
        </div>
    </div>
    {/if}
</form>
<script>

</script>



